const result = {
  code: 200,
  msg: "ok",
}
const demo = {
  dict_name: 'hehe',
  dict_code: 'hehe'
}
module.exports = function(req, res) {
  const cur_page = req.body.cur_page || 1
  let r = cur_page * 10 + 1

  const list = []
  for (let i = r; i < r+10; i++) {
    demo.dict_name = '呵呵' + i
    demo.dict_code = 'hehe' + i
    list.push(JSON.parse(JSON.stringify(demo)))
  }
  result.list = list
  result.total = 200
  result.cur_page = cur_page

  return result
}